package vo.chooseCourseVO;

import java.io.Serializable;

public class ChooseCourseVO implements Serializable {
	 
	private String studentId;
	private String studentName;
	private String courseId;
	private String courseName;
	private double score;
	private int creidt;
	private int term;
	private String attribute;


	public ChooseCourseVO(String studentId, String studentName, String courseId,
			String courseName,double score,int creidt,int term,String attribute) {
		this.studentId = studentId;
		this.studentName = studentName;
		this.courseId = courseId;
		this.courseName = courseName;
		this.score=score;
		this.creidt=creidt;
		this.term=term;
		this.attribute=attribute;
	}

	
	public String getAttribute() {
		return attribute;
	}


	public int getTerm() {
		return term;
	}


	public int getCreidt() {
		return creidt;
	}

	public double getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	public String getStudentId() {
		return studentId;
	}

	public String getStudentName() {
		return studentName;
	}

	public String getCourseId() {
		return courseId;
	}

	public String getCourseName() {
		return courseName;
	}
	
	public String toString(){
		String string="StudentId: "+studentId+" Student name: "+studentName+" courseId: "
				+courseId+" course name: "+courseName+" score: "+score;
		return string;
	}
}
